Playit

CSS Property:
border-image-outset:
2px
5px
10px
10px 2px
10px 5px
10px 5px 2px
10px 5px 5px
10px 5px 15px 5px
10px 5px 15px 10px
initial
Result:
This DIV element uses an image as a border.
CSS Code:

    div#main {
        background-color:lightgrey;
        border:30px solid transparent;
        border-image: url('border.png');
        border-image-slice: 30 30 30 30;
        border-image-width: 1 1 1 1;
        border-image-outset: 2px;
        border-image-repeat: round;
    }

Click the property values above to see the result
W3Schools.com - Play it